#-*-coding:utf-8-*-
from selenium import webdriver
from .mydriver import browser
from selenium.webdriver.support.ui import WebDriverWait
import unittest
import sys
reload(sys)
sys.setdefaultencoding('utf-8')

class myTest(unittest.TestCase):
    def setUp(self):
        self.driver=browser()
        self.driver.implicitly_wait(30)
        self.driver.maximize_window()
    def tearDown(self):
        #print("调试，暂时结束")
        self.driver.quit()
if __name__=='__main__':
    unittest.main()